home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.08 Aug 90 / Test Object Source / CWavePanel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-06  |  864 b   |  37 lines  |  [TEXT/KAHL]

  1. /*************************************************
  2.  CWavePanel.h
  3.  
  4.  Part of the interface for the WavePanel Class,
  5.  to show how to use the DigitalControl class.
  6.                          
  7.  © 1989 Enrico Colombini. All rights reserved.
  8. *************************************************/
  9. #define _H_CWavePanel.h            /*include only once*/
  10.  
  11. #include <CPicture.h>
  12. #include "CDigitalControl.h"
  13.  
  14.         /*** class declaration ***/
  15.  
  16. struct CWavePanel : CPicture {
  17.  
  18.         /* instance variables: */
  19.         
  20.     CDigitalControl *ctrAmpA;        /*A amplitude*/
  21.     CDigitalControl *ctrFreqA;        /*A frequency*/
  22.     CDigitalControl *ctrAmpB;        /*B amplitude*/
  23.     CDigitalControl *ctrFreqB;        /*B frequency*/
  24.     CDigitalControl *ctrPhaseB;    /*B phase*/
  25.     
  26.         /* overridden methods: */
  27.         
  28.     void    DoCommand(long theCommand);
  29.         
  30.         /* new methods: */
  31.  
  32.     void    IWavePanel(short resID,
  33.                     CView *anEnclosure,
  34.                     CBureaucrat *aSupervisor);
  35. };
  36.  
  37.